//
//  ReminderDetailView.h
//  Reminders
//
//  Created by Nearsoft User on 8/2/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Reminder.h"
#import "DateStrings.h"

@class Connection;

@interface ReminderDetailView : UIViewController {
    IBOutlet UIButton *dayButton;
    IBOutlet UIButton *timeButton;
    IBOutlet UIButton *repeatButton;
    UIScrollView *scroll;
    UIDatePicker *timePicker;
    UIDatePicker *dayPicker;
    UIPickerView *repeatPicker;
    NSArray *repeatList;
    Boolean elementShown;
    int currentPicker;
    int repeatRow;
    DateStrings *dateString;
}

@property(nonatomic,retain) IBOutlet UITextField *reminderTitle;
@property(nonatomic,retain) IBOutlet UITextView *reminderNotes;
@property(nonatomic,retain) Reminder *reminder;
@property(nonatomic) Boolean edit;

- (void)onSave;
- (void)okPicker;
- (void)removeViews;
- (void)dismissPickerView;
- (IBAction)showRepeatPicker:(id)sender;
- (IBAction)showTimePicker:(id)sender;
- (IBAction)showDatePicker:(id)sender;
- (IBAction)backgroundTap;
- (void)animateToElement:(NSInteger)distance;

@end
